package com.shuiyun.service.impl;

import com.shuiyun.dao.SysMenuMapper;
import com.shuiyun.entity.SysMenu;
import com.shuiyun.service.SysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by liliting on 18/3/16.
 */
@Service
public class SysMenuServiceImpl  implements SysMenuService {

    @Autowired
    private SysMenuMapper sysMenuMapper;

    @Override
    public List<SysMenu> findMenu() {
        return sysMenuMapper.findAll();
    }

}
